//
//  OwlWCFacility.h
//  Owl
//
//  Created by Tianzhou on 09-2-24.
//  Copyright 2009 Tianzhou Software Inc.. All rights reserved.
//

#import <Cocoa/Cocoa.h>
#define USE_SHELL (1)

@interface WCDataHolder : NSObject
{
	NSString	*fileURL_;
	int			lineCount_;
	int			wordCount_;
	int			byteCount_;
}

@property(assign,readwrite) NSString *fileURL;
@property(assign,readwrite) int lineCount;
@property(assign,readwrite) int wordCount;
@property(assign,readwrite) int byteCount;

@end


@interface OwlWCFacility : NSObject {

}

+ (int)gatherWCData:(NSArray **)wcData_o
		  UnderPath:(NSString *)path;
+ (int)calculateLineCountForFile:(NSString *)path
						atFolder:(NSString *)folderPath;

@end
